package com.z8fz.front.food.service.impl;

import java.util.List;

import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.z8fz.admin.food.dao.FoodDao;
import com.z8fz.common.pager.PageModel;
import com.z8fz.front.food.service.FoodService;

@Service
public class FoodServiceImpl implements FoodService {
	@Autowired
	private FoodDao foodDao;
	
	public PageModel getFoods() {
		return foodDao.selectFoods();
	}
	
}
